package com.lenovo.smarttraffic.database;

import org.litepal.crud.LitePalSupport;

import java.util.Date;

public class CarPeccancyDB extends LitePalSupport {
    private int id;
    private String carnumber;
    private String pcode;
    private String pdatetime;
    private String paddr;

    @Override
    public String toString() {
        return "CarPeccancyDB{" +
                "id=" + id +
                ", carnumber='" + carnumber + '\'' +
                ", pcode='" + pcode + '\'' +
                ", pdatetime=" + pdatetime +
                ", paddr='" + paddr + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCarnumber() {
        return carnumber;
    }

    public void setCarnumber(String carnumber) {
        this.carnumber = carnumber;
    }

    public String getPcode() {
        return pcode;
    }

    public void setPcode(String pcode) {
        this.pcode = pcode;
    }

    public String getPdatetime() {
        return pdatetime;
    }

    public void setPdatetime(String pdatetime) {
        this.pdatetime = pdatetime;
    }

    public String getPaddr() {
        return paddr;
    }

    public void setPaddr(String paddr) {
        this.paddr = paddr;
    }

    public CarPeccancyDB(int id, String carnumber, String pcode, String pdatetime, String paddr) {
        this.id = id;
        this.carnumber = carnumber;
        this.pcode = pcode;
        this.pdatetime = pdatetime;
        this.paddr = paddr;
    }
}